package com.ssm.service;

import com.ssm.pojo.Business;
import com.ssm.pojo.vo.Result;

import java.util.List;

public interface IBusinessService {
    /**
     * 商家登录
     */
    Result<Business> login(String username, String password);

    /**
     * 条件查询商家数据
     */
    Result<List<Business>> getBusiness(String businessName);
}
